package com.xiaoke.utils;

import com.xiaoke.domain.entity.Comment;

import java.util.ArrayList;
import java.util.List;

public class CommentUtils {
//    public static List<Comment> getByPidFindComment(List<Comment> commentList,Long pid) {
//        ArrayList<Comment> comments = new ArrayList<>();
//
//        for (Comment comment : commentList) {
//            if(comment.getId() == pid) {
//                comments.add(comment);
//            }
//        }
//        return comments;
//    }
//    }
}
